/*
 * @Date: 2024-08-23 16:56:08
 * @Author: LiSong
 * @LastEditors: LiSong
 * @LastEditTime: 2024-08-23 16:56:10
 * @Description: 日期选择
 */
export default {
  type: 'date',
  icon: 'date-field',
  order: 230,
  enabled: true,
  formItemFlag: true,
  options: {
    // ----- 补充字段
    code: '', // 表单回显，字段编码
    dataField: '', // 数据字段，存储使用
    // ----- 原始字段
    name: '',
    label: '',
    labelAlign: '',
    type: 'date',
    defaultValue: null,
    placeholder: '',
    columnWidth: '200px',
    size: '',
    autoFullWidth: true,
    labelWidth: null,
    labelHidden: false,
    readonly: false,
    disabled: false,
    hidden: false,
    configType: 0,
    clearable: true,
    editable: false,
    format: 'YYYY-MM-DD',  //日期显示格式
    valueFormat: 'YYYY-MM-DD',  //日期对象格式
    required: false,
    requiredHint: '',
    validation: '',
    validationHint: '',
    disabledDateFilter: '',
    //-------------------
    customClass: '',  //自定义css类名
    // labelIconClass: null,
    // labelIconPosition: 'rear',
    // labelTooltip: null,
    //-------------------
    onCreated: '',
    onMounted: '',
    onChange: '',
    // onFocus: '',
    onBlur: '',
    onValidate: '',
  },
}